package com.gouying.web;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

//开启远程调用其他微服务
@EnableFeignClients
//开启事务管理
@EnableTransactionManagement
@MapperScan("com.gouying.web.dao")
@EnableDiscoveryClient
@SpringBootApplication
public class GyWareApplication {

    public static void main(String[] args) {
        SpringApplication.run(GyWareApplication.class, args);
    }

}
